package net.suncaper.demo.service;

import net.suncaper.demo.domain.Student;
import net.suncaper.demo.domain.StudentExample;
import net.suncaper.demo.domain.Teacher;

import java.math.BigDecimal;
import java.util.List;

public interface UserService {

     void savestudent(Student student) ;
     void saveteacher(Teacher teacher);

    void deleteStudentById(String studentId);

    List<Student> findStudent();

    Student findStudentById(String studentId);

    void updateStudent(Student student);

    void deleteTeacherById(String teacherId);

    Teacher findTeacherById(String teacherId);

    void updateTeacher(Teacher teacher);

    List<Teacher> findTeacher();
}
